Had the same issue, and after trying many things the problem was in the windows registry. I was missing P9NP entry in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order and HwOrder.
Got it from https://github.com/microsoft/WSL/issues/4027#issuecomment-496628274