Saudi Arabia’s foreign minister, during a rare visit to bitter rival Iran, stressed the importance of “security cooperation” in the region to ensure the Persian Gulf is free of weapons of mass destruction and to maintain maritime safety in crucial trade routes.