Does not seem to be a democratic way of handling secession.
Makes me wonder why Hong Kong should be free in the view of most westeners, but not Texas...
Nope - the pact introduced the "one country, two systems", and that is still in place. Also HK citizens themselves aren't exactly opposed to the new situation: https://research.hktdc.com/en/article/NTY0NDU0NDI3.