Optimal Linear Subspace Search: Learning to Construct Fast and High-Quality Schedulers for Diffusion Models