The close adviser to President Donald Trump has publicly supported the United States withdrawing from the military alliance.