Generalization Bounds with Minimal Dependency on Hypothesis Class via Distributionally Robust Optimization