The hero of I.B. Singer’s newly reissued The Magician of Lublin is torn between bohemia and bourgeois respectability, Jews and Gentiles