WSL2 is not reliable enough for relying on it for shipping the end product.
Since you care about performance, I would advise to use Rust for that, which also has a WAY better Windows end user support.
Windows support is a recurrent question/complaint (including myself), and there is a lot of improvements on that, but not 100% polished yet: