Iran’s missile program was born of weakness in the early years of the Islamic Republic. Now the question is whether it is formidable enough to head off a military confrontation with President Trump.