Judge dismisses lawsuit challenging firearm regulations in Lincoln