Sensitivity of hole doping of Cu L3 resonant spectroscopies: Inelastic x-ray scattering and photoemission of La2-xSrxCuO4