A quick search reveals you're right about the Hawthorne story. It's very likely that Doctorow did make his Wakefield as a modernization of that story, transplanting the story to the suburbs and making the main character even closer than the guy in the original story.