Sia said Katy Perry working on her mental health was "the best thing that could have ever happened to her"