Wang, who spent a year in Hong Kong, was accused of illegally gathering information on behalf of the US, but correspondence suggests he was trying to work with academics to access Iranian archives