A Texas district court judge dismissed the defamation lawsuit filed by Ahmed Mohamed on his own behalf and on behalf…