Following its success in the recent elections, the PTI has to overcome many legal and political challenges