Lou Andreas-Salomé — a novelist, essayist, and psychoanalyst who won the hearts of Freud, Nietzsche, and Rilke — led an almost infinitely varied life.