Young people in Hong Kong have been at the forefront of violent protests over a proposed extradition law that have shaken the city and angered Beijing.