US state secretary Marco Rubio will travel to Hungary after President Donald Trump endorsed its right-wing leader, Viktor Orban.