The National Rifle Association is battling in court on two fronts to move a high-profile lawsuit brought by New York Attorney General Letitia James aiming to dissolve the gun-rights group out of New York City.