On Thursday, Hong Kong lawmakers rejected a China-backed proposal to change how the territory elects its top official—the same proposal that set off waves of street protests last year.