Iran’s joint military command said Tehran would respond soon and called the U.S. seizure an act of piracy.