With bags of cash, C.I.A. seeks influence in Afghanistan