The Only Murders in the Building star reflects on her past struggles in the documentary Selena Gomez: My Mind & Me