Taffy Brodesser-Akner says the start of middle age hit her “like a truck.” As her friends got divorced and began dating again, she was inspired to write a novel — which she’s adapted for the screen.