China wins Davis Cup tie against Pakistan