A connection between isochronous Hamiltonian centres and the Jacobian conjecture