~~AFAIK, Wayland explicitly doesn't do this by design~~
~~If you use X you can tunnel it over SSH~~
Completely misread the question
You want to look into the DISPLAY (or maybe WAYLAND_DISPLAY in your situation, I can't remember off the top of my head) environment variable