The solution is to install the following package:
qml-module-org-kde-pipewire
So this package should probably be included in the Plasma dependencies.