Mass, shape and thermal properties of Abell 1689 using a multiwavelength X-ray, lensing and Sunyaev–Zel'dovich analysis