You have not shown the connection and the "defense" in the Pennsylvania document refers to defense of the state via a militia and personal arms use in that militia.
You need to connect it directly with the 1789 Constitutional convention, which will be difficult since notes were not taken apparently.
The formulation of 2A wording is really quite unproven and does not have a clear road map.
BTW Pennsylvania document:
XIII. That the people have a right to bear arms for the defence of themselves and the state; and as standing armies in the time of peace are dangerous to liberty, they ought not to be kept up; And that the military should be kept under strict subordination to, and governed by, the civil power.