Vivek Wadhwa, a visiting scholar at the University of California at Berkeley who studies immigrant entrepreneurs, said that an anti-immigrant climate had made it “a liability to hire H-1Bs,” and that this will gradually chip away at U.S. global competitiveness, because the country has a dearth of homegrown engineers and scientists.