Former France captain Amandine Henry has announced her immediate retirement from international football.