From 19th‑century rails to a modern dinner train, a teacher and student savor Cape Cod’s marshes, bay views, and history on a ...