A total of 45 people were jailed by Hong Kong's High Court for up to 10 years after a trial under controversial national security laws imposed on the territory by China.