An internal fight over trans rights and free speech has seen the Greens suspend one of its founders, in a process that took almost two years and could not be appealed.