Thousands of Islamists have rallied in two major cities in Pakistan to condemn US President Donald Trump for declaring Jerusalem Israel’s capital.