That would be no, because that "well-regulated state militia" is the National Guard, and federal legislation did not in any way regulate their use of guns.
There may be argument that federal gun legislation violates the 2nd Amendment (and also plenty of argument that it does not), but it does not do so on the grounds that it hampers or eliminates a state militia.