Caroline Wozniacki revealed she had been diagnosed with rheumatoid arthritis after her defeat to Elina Svitolina at the WTA Finals in Singapore.