Try to uninstall jack2 first with pamac remove jack2 lib32-jack2 and then install pamac install pipewire-jack lib32-pipewire-jack.