A collaboration including the Rockefeller Foundation, the producers of "Hamilton" and a nonprofit American history institute are bringing students to the show.