The rules-based world order is in retreat and violence is on the rise, forcing countries to rethink their relationships