Edit or create the file /etc/wsl.conf and add the lines below
[interop]
appendWindowsPath = false
May need to restart WSL from Powershell to work
wslconfig /l to get distribution name
wslconfig /t [distribution name]
Restart WSL
Microsoft docs:
https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/