Ben Valsler finds out why writing Alice’s adventures in Wonderland was such a headache for Lewis Carroll