A dedicated protocol is needed to announce the virtual desktops KWin is using and PlasmaWindow need to expose the virtual desktop.
The virtual desktop interface should not expose too much implementation detail. It should be more than a number.
A possibility might be to use a dbus interface instead of a Wayland interface.