In rejecting the president’s opponent, the country was poised to continue the same euroskeptic shift as Hungary, Poland and Slovakia.