The dynamics of self-interacting dark matter in galaxy clusters