Greek lawmakers fail for a third time to elect a new president, triggering a snap election that could bring to power a radical anti-austerity party threatening to undo many economic reforms.