(CNN) — A French researcher was denied entry to the United States after US authorities found messages about President Donald Trump on his phone, a French government official said on Thursday.