Enhanced spin-lattice relaxation near the metal-insulator transition