The father of Pakistan’s nuclear-weapons program has written an official account that details an Iranian attempt to buy atomic bombs from Pakistan at the end of the 1980s and also conflicts with the Pakistani government’s assertion that bombmaker Abdul Qadeer Khan proliferated nuclear know-how without government approval.