wsl --distribution <instance> --user <user>
E.g.:
wsl --distribution Ubuntu-22.04 --user root
learn.microsoft.com/en-us/windows/wsl/basic-commands#run-a-specific-linux-distribution-from-powershell-or-cmd