Arsene Wenger has hinted that growing supporter unrest influenced his decision to quit Arsenal at the end of the season.