Right-wing candidate Flávio Bolsonaro led the first round, but fell short of an outright majority and will face President Lula in a runoff.