Hydrological Connectivity Improves the Water-Related Environment in a Typical Arid Inland River Basin in Xinjiang, China