A Hierarchical Sampling Framework for bounding the Generalization Error of Federated Learning (ArXiv cs.IT Recent Papers, 2026)