The win is a blow to Mr Trump and Mr Putin, who sought to keep Mr Orban in power as the prime minister.