The first person convicted in Hong Kong under the Beijing-imposed national security law and three others jailed in related high-profile cases have been released early, the South China Morning Post has learned.