Investigating the gauge invariance of quantum initial conditions for inflation