Literature Walk the line: Maggie O’Farrell on rolling with the punches and letting inspiration inThe prize-winning Hamnet author returns with The Marriage Portrait, her new novel