A father-of-four who threw a bag of fireworks onto a fire during rioting in Leeds last summer has been jailed for 20 months.