From railways to royal armouries, Yorkshire’s museums offer a deep dive into regional identity and British history.