Supporters of Imran Khan protested outside Pakistan's parliament after a court sentenced Khan to prison.