Generalization Bounds for Quantum Learning via Rényi Divergences