The following instructions work for Windows 11 with WSL2 installed, which includes WSLg, the built-in XServer client.
sshd_config
X11Forwarding yes X11UseLocalhost yes
service sshd restart