Restricted thermalization for two interacting atoms in a multimode harmonic waveguide