Brigitte Macron, the wife of French president Emmanuel Macron, was at the centre of a cyberbullying trial in France.