The French banking group’s global markets business posted its best third quarter since 2016.