First of all, you are right to recognize that you need sort things out before you can ask your wife to let you back into her life.
Find a qualified counselor, or two. Your sex addiction and your gender issues are two very different things and the current approach is clearly not working. I suspect your current counselor is qualified to deal effectively with neither issue.