Hamiltonian flows on the space of star-shaped curves