Factorization theory of Thom spectra, twists, and duality