House Speaker Paul Ryan rejected a threat by President Donald Trump to shut down the government to force Congress to approve funding for a border wall with Mexico at a news conference in Oregon.