Wigner phase of photonic helicity states in the spacetime of the Earth