The Hong Kong government has marked the 22nd anniversary of the former British colony's return to China, as police faced off with protesters outside the venue.