A Cardiff-based TV director has released a debut children's novel inspired by Welsh cultural history