A former Neighbours actor turned political candidate has avoided jail after performing a banned Nazi gesture while speaking at an event.