Only WSL2 on Windows 11 is affected. update: WSL2 on Windows 10 supports WSLg since end of 2022 as well.
I would suggest to slightly modify your testing approach: with stopped Docker Desktop, open ANY WSL2 distro and check again. You will see the same outcome, even though Docker Desktop is not involved.
If you don’t like this behavior of WSL2, then disable gui applications for WSL2: