The “White Lotus” star is releasing a memoir tracing his childhood, the start of his career, mental health, and romantic relationships.