The outcome of appeals filed against Nawaz Sharif’s convictions will have major political consequences