Cannot use snap to install

There's not much explanation beyond the error you are quoting.

Snaps are not supported on WSL at this time.

If you want to use snaps or if you want to have support for a desktop environment or GUI applications, you can install Ubuntu in dual-boot configuration or you can install Ubuntu in a VM like Virtual Box.