The extradition law, which was proposed by CE Carrie Lam, was indeed proposed and supposed to be passed by the legislature, at around the time frame as the Trump-Xi meeting.
If you infer the cause of the protests is the CIA, then CE Carrie Lam would be a CIA agent.
The much more likely explanation to all these is incompetence, rather than conspiracy.