Topological polarons, quasiparticle invariants, and their detection in one-dimensional symmetry-protected phases