Factorization and momentum-space resummation in deep-inelastic scattering