A French scientist was denied entry to the United States this month over messages critical of President Trump’s administration’s research policies, according to France’s government.