Weeks before President-elect Donald J. Trump is to take office, a major rift has emerged among his supporters over immigration and the place of foreign workers in the U.S. labor market.