Hello and Welcome to the forum!
Unfortunately, pairwise comparisons are not implemented in Qiime2. You can provide the reference and compare all the groups to that reference. Also, I don't think that it is appropriate to perform multiple runs and then just correct p-values (I had the same idea).
Please check this comment. By the link there you can find detailed R tutorial for ancombc2, including pairwise mode.
Best,