From liberal dissident to MAGA darling, the transformation of the prime minister who brought Budapest back into Moscow’s orbit.