On the nature of ionic liquid gating of La2-xSrxCuO4