Dark energy properties from the combination of large-scale structure and weak gravitational lensing in the Dark energy survey