The brightly coloured museum showcases Panama’s role as the last key piece of land in the Central American isthmus that joined North and South America nearly three million years ago — and the consequences it had for the world’s ecology