Luiz Inácio Lula da Silva won reelection as Brazil’s president, defeating conservative Sen. Flávio Bolsonaro. The result interrupts a rightward political shift in Latin America.