Optimal-Agent-Selection: State-Aware Routing Framework for Efficient Multi-Agent Collaboration