US President Donald Trump shared an article suggesting he could impose a naval blockade on Iran after talks in Islamabad ended without agreement.