Imran Khan’s government disrupted Pakistan’s relations with the US, China and Saudi Arabia. The key challenge for Shahbaz Sharif’s government is to repair those relations