Carlos Alcaraz beat Casper Ruud for his first career major title and the No. 1 ranking in men’s tennis.