President Donald Trump has vetoed a resolution to stop U.S. involvement in a Saudi- and Emirati-led campaign in Yemen.