Topographic controls on divide migration, stream capture, and diversification in riverine life