A Hong Kong court convicted two former editors of a shuttered news outlet on Thursday, in a sedition case that is widely seen as a barometer for the future of media freedom in the city once hailed as a bastion of free press in Asia.