Top-seeded Carlos Alcaraz lost for just the second time this year when 25th-ranked Jiri Lehecka beat him in the quarterfinals of the Qatar Open.