Mr. Wong had pleaded guilty to contempt of court for refusing to obey a court order to leave a protest site in the last days of demonstrations, known as the Umbrella Movement, that paralyzed parts of Hong Kong without winning any political concession from the Chinese government.