Economic woes and US hostility have soured Iranians’ perceptions of governments in both Tehran and Washington. If the US drops the nuclear deal, Rouhani will be under pressure to seek investment from elsewhere