The woman who threw a milkshake at British politician Nigel Farage has been given a suspended prison sentence.