The late director’s 2020 film “Horse Girl,” starring Alison Brie, was inspired by their respective experiences with mental illness.