Northern England will no longer be “held to ransom” by poor transport systems, Sir Keir Starmer said.