President Luiz Inácio Lula da Silva’s re-election ended a string of victories by right-wing candidates in Latin America. His opponent, Flávio Bolsonaro, fled Brazil for the United States.