I would recommend using the gnome-3-38 (or gnome on core22) snapcraft extension. This would use the desktop-launch script automatically which handles some wayland setup.
Adding that extension indeed brings in the missing socket. Thanks!
It seems a bit heavy-handed to pull in gnome for a command-line utility, so I’ll take a look and see if I can get the specific fix integrated on itself.