The 18th-century comma style confuses things a bit. If we ignore it we have an absolute participial phrase equivalent to an adverbial causal clause: "Since a well-regulated Militia is necessary to the security of a free State," [therefore] etc.
So the participial phrase is both absolute (having its own subject and predicate) and an essential modifier (giving the reason for the article).