The cartoon you described appears to be critical of despotism and authoritarian rule, suggesting that Thomas Jefferson (a figure associated with the Democratic-Republican Party) is being portrayed as a defender of liberty against tyranny. Given that the Whigs were generally opposed to Jeffersonian views, and a smuggler might not have a direct political stance related to the Constitution, the most likely creator of this cartoon would be a Federalist.
Federalists typically supported a strong central government and were often in opposition to the principles espoused by Jefferson and the Democratic-Republicans, who advocated for greater individual liberties and states' rights. Therefore, a Federalist would be inclined to create a cartoon that highlights the dangers of despotism while critiquing Jefferson's approach to governance.