Carlos Alcaraz’s bid to win a third straight Madrid Open title ended with a three-set loss to Andrey Rublev in the quarterfinals on Wednesday.