If successful, the Greater Manchester mayor is widely expected to challenge the prime minister for Labour leadership.