I don't know of any feature in QuickBooks that will automatically create payroll liability checks to pay your various liabilities and taxes.
QuickBooks Desktop Payroll doesn't have a transaction type to directly match/represent paying liabilities by credit card. Customers have been asking for it for decades, but still nothing.
So, the way to do this is to create a liability payment check and then redirect the funds to your CC account by adding a line item to the expenses tab, zeroing out the check.
It should look like this:

Optionally, if you don't want to see the check in your main/real checking account, create and use a "wash" bank account for the check.