qt: Add option to disable phonon

This commit makes it possible to disable Qt phonon. This is the first step in replacing Qt phonon with the newer  kde-phonon, which is suspected to be important for PyQt phonon support. (even if it isn't, this option won't change anything for people who don't need it.)

Related to #21847