Demi Lovato has spoken of finding "hope" and "light" after her fifth stint of in-patient treatment amid her addiction and mental health struggles.