A member of a far-right group has been sentenced for posting racist and homophobic graffiti around Cardiff