Ground-state energy estimation of the water molecule on a trapped-ion quantum computer