This novel has echoes of Queen’s Gambit, the Netflix series that reinvigorated chess for seemingly half the population.