Coherent control of a local phonon in trapped ions using dynamical decoupling