The author of Gulliver’s Travels was a wit, a ladies’ man, a champion of the oppressed — and a mystery.