Austria's political "whizz-kid" Sebastian Kurz was on course to become Europe's youngest leader, potentially in coalition with the far-right after its best result in almost 20 years.