Researchers, academic officials and science policy makers are expressing alarm at President Trump’s order barring entry to the United States to people from certain predominantly Muslim countries, saying it could hinder research, affect recruitment of top scientists and dampen the free exchange of scientific ideas.