Can X-ray constrained Hartree–Fock wavefunctions retrieve electron correlation?