BEST-Route: Adaptive LLM Routing with Test-Time Optimal Compute