The Hubble Space Telescope UV Legacy Survey of Galactic Globular Clusters. XXIII. Proper-motion Catalogs and Internal Kinematics