Learning to Route: Per-Sample Adaptive Routing for Multimodal Multitask Prediction