Idris Elba and Ruth Wilson are both bringing versions of their family histories to our screens. But when I did the same thing for a book, I found it’s not easy balancing your narrative needs with the facts