The singer’s body-positive anthems once defined her. Now lawsuits, weight loss and flop singles have shaken her image