Wave‐function optimization by least‐squares fitting of the exact wave function sampled by quantum Monte Carlo