Text this: Application of the relativistic random-phase and distorted wave impulse approximations to quasielastic proton-nucleus scattering