In New York City’s oldest museum, a high-tech clubhouse is making history matter to teens.