The victory of Brazil’s far-right presidential candidate Jair Bolsonaro has battered the country’s leftist Workers Party, which is now looking for a way to rebuild.