Pakistani authorities have deployed the army in the capital for two weeks as protesters who support jailed former prime minister Imran Khan clashed with police.