How the boy wizard won over religious critics — and the deeper meaning theologians now see in his tale.