Hungarian Prime Minister Viktor Orbán loses election, signaling a shift in European politics after a US official campaigned for him.