Revert "[inductor] Refactor cpp_wrapper to be an attribute of GraphLowering (#97709)"
This reverts commit 8710dc8d5a09204391ebcaaed9839c1d885bdc44.
Reverted https://github.com/pytorch/pytorch/pull/97709 on behalf of https://github.com/malfet due to Broke cpu_wrapper tests on MacOS, see https://github.com/pytorch/pytorch/actions/runs/4545603517/jobs/8014327136#step:13:868