A federal judge in Texas dismissed on Tuesday the National Rifle Association’s bankruptcy claim, arguing that the type of threat the organization faced from the lawsuit brought by New York Attorney General Leticia James did not qualify for Chapter 11 bankruptcy protections.