Senator Lidia Thorpe has narrowly escaped arrest after tussling with a police officer during a protest ahead of King Charles’ visit to Canberra.