Labour’s candidate for the Greater Manchester mayoralty risks a split with Andy Burnham after standing by her past remarks on trans issues.