Hanks is portraying Rogers in the upcoming film, “A Beautiful Day in the Neighborhood.” He said he didn’t know they were related when he took the role.