Private equity firm the Carlyle Group has bought a minority stake in Chinese milk formula maker Yashili.