About the closest I've come is seeing that there are accessibility options in the settings panel of most of the significant desktop environments. I'm not familiar with how they're used, or how standard they may be.
Unless I'm missing something the dbus interface is only for showing/hiding the virtual keyboard, unless squeekboard is using the feedbackd dbus interface for haptic feedback. Touch events for the 'keys' are collected via gtk3 which should work with either X or wayland. I think they're sent out using the wayland virtual keyboard protocol, so you'd have to do it differently if you were using X rather than wayland.
I think the main difference you'll see is that the packaging process is slightly different - debian for mobian vs. alpine linux for PostmarketOS. Both are capable of running other desktops (Plasma Mobile etc.) but most of the effort seems to be concentrated around Phosh which has its roots in Gnome, hence the gtk3 use. If you went the Plasma Mobile route then Qt would probably be the better option. I _think_ both Mobian and PmOS are concentrating on wayland over X with most desktops, but I may be wrong.