Lifetimes of metastable X-ray emitters in helium- and lithium-like chlorine