A federal judge ruled against a Texas law banning adults under 21 years old from carrying a handgun outside their homes,