The pro-democracy figures are accused of “subversion” under the controversial security legislation.