A law that could threaten the rights of minority groups is a sign of the direction Xi is taking China.