Explore-then-Commit for Nonstationary Linear Bandits with Latent Dynamics