Black-Box Generalization: Stability of Zeroth-Order Learning