Downgrade to WSL1, if you want to save yourself from days of wasted effort.
I've upgraded to WSL2 and tried a bit to get VirtualBox to work with it and I couldn't find anything useful. There are few guides which suggest that turning off some features of VirtualBox which make it work but it will make it even slower than what it is right now, which really defeats the purpose.
https://github.com/MicrosoftDocs/WSL/issues/536
https://superuser.com/q/1531337