WASHINGTON — President Donald Trump signed an executive order Friday that makes major changes to America’s immigration system, sparking confusion at airports, protests around the country and denunciations from leaders around the world.