Unified Scaling Laws for Routed Language Models