French president says he and US President Trump reached deal on tech tax that prompted threat of French wine tariffs