Topology and the one-dimensional Kondo-Heisenberg model