Trans rights a 'red line' for Scottish Greens