Go back to Article I, Section 8, and perform that same substitution. Replacing “Militia” with “People” does not change the meaning of Article I in the slightest.
The term “militia” was used in the second amendment specifically to reference the militia clauses in Article I. If Article I had referred to “Yeomanry” or “Snorglubben”, the Second Amendment would have used those terms instead.