James McAvoy played the younger Professor X in the X-Men franchise, but he also pitched his plan to play Patrick Stewart's iconic Star Trek hero.