A federal court judge on Wednesday dismissed a challenge of a century-old Connecticut regulation largely prohibiting the carrying of firearms in state parks. The judge said the complaint lacked standing because the regulation was unlikely to be enforced.