Engineering of spin-lattice relaxation dynamics by digital growth of diluted magnetic semiconductor CdMnTe