Learning Flexible Heterogeneous Coordination with Capability-Aware Shared Hypernetworks