Why Meg Wolitzer’s novel unlocked a new creative language for a songwriter tackling grief, ambition, and the stage