Mean free paths and in-medium scattering cross sections of energetic nucleons in neutron-rich nucleonic matter within the relativistic impulse approximation