The United States and its Arab allies are knitting together a regional missile defense system across the Persian Gulf to protect cities, oil refineries, pipelines and military bases from an Iranian attack, according to government officials and public documents.