Differential forms on Wasserstein space and infinite-dimensional Hamiltonian systems