Dressed scalar propagator in a non-Abelian background from the worldline formalism