A pair who joined a protest outside a hotel housing asylum seekers after the Southport stabbings have each been jailed for 21 months.