The Gaia-ESO Survey: Structural and dynamical properties of the young cluster Chamaeleon I