The jubilation Khan and like-minded Pakistanis expressed may turn to consternation as the Taliban tighten their grip on Afghanistan