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