She wrote a biography informed by an intimate — and at times harrowing — view of the film star’s turbulent life.