Coherent control of $$^{171}\mathrm{Yb}^{+}$$ ion qubit states and thermometry using motional decoherence