Turkey's presidential elections appeared to be heading toward a second-round runoff on Monday, with President Recep Tayyip Erdogan, who has ruled his country with a firm grip for 20 years, leading over his chief challenger, but falling short of the votes needed for an outright win.