As I worked on my fifth book, I struggled to be a good mom and a good writer at the same time—without becoming a monster.