The MUSCLES Treasury Survey. IV. Scaling Relations for Ultraviolet, Ca ii K, and Energetic Particle Fluxes from M Dwarfs