A French court convicted Marine Le Pen of misusing European Union funds, sentencing her to prison and banning her from France’s next presidential election.