Spain's Carlos Alcaraz won the ATP Finals title for the first time in his career after defeating Germany's Alexander Zverev.