Text this: The MUSCLES Treasury Survey. IV. Scaling relations for ultraviolet, Ca ii K, and energetic particle fluxes from M dwarfs