The Gaia-ESO survey: the inner disk intermediate-age open cluster NGC 6802