In Anjum Hasan’s novel, a mild-mannered Delhi teacher turns to history to understand an increasingly perilous present.