Greece’s parliament has elected the conservative government’s nominee, Constantine Tassoulas, as the country’s president, despite protester anger as justice is sought for a deadly 2023 train crash.