Wimbledon champion Alcaraz beat the US Open winner 6-7(6) 6-4 7-6(3) for his fourth title of the year.