The close ally of outgoing President Andrés Manuel López Obrador is the first woman to win Mexico’s presidency.