Mia Lucas, who had an undiagnosed brain condition, took her own life after being sectioned at a mental health unit