Writer Catherine Jinks became fascinated by the true story of a famous charlatan, Thomas Carr, who mesmerised and fought with audiences from the 1860s