Top Hong Kong official steps down after flouting COVID-19 rules