The Chinese government approved a sweeping change to Hong Kong election law ensuring lawmaker loyalty to Beijing, tightening its grip around the city’s electoral system.