A Southport rioter seen in viral footage being hit by bricks in the head and groin while taunting police has been jailed for violent disorder.