Hadronic vacuum polarization with C* boundary conditions