Quasi-Hamiltonian geometry of meromorphic connections