The NSW state minister has refused to appear at an inquiry into why she appointed a former Labor staffer as the transport secretary.