An insurance broker who was last month convicted of posting racist and menacing messages about Northern Ireland’s first black mayor has lost his appeal against a five-month jail sentence.