A transgender dad has been identified as the suspected gunman who shot dead two people and critically injured three others at a school ice hockey game.