Geometric phases distinguish entangled states in wormhole quantum mechanics