Kernel Distributionally Robust Optimization: A Generalization Theorem