For decades, the U.S. dollar’s dominance has rested on two pillars: America’s deep capital markets and its global security alliances. Today, both are under strain.