check your UID in WSL(not in container):
$ echo $UID
1001
here my non-root user UID in WSL is 1001 because I added an extra user long time ago,
so in laravel .env add:
WWWGROUP=1001
WWWUSER=1001
now sail user in devcontainer will have the same UID as my normal user in wsl problem fixed without using chown