The U.S. Congress on Thursday approved a two-week stopgap spending bill to avert a government shutdown, setting up a potential showdown over President Donald Trump's proposed border wall later this month.