Escape and Accretion by Cratering Impacts: Formulation of Scaling Relations for High-speed Ejecta