Berry phases and the intrinsic thermal Hall effect in high-temperature cuprate superconductors