A major railway line closed after a car driven by a suspected drunk-driver crashed on to train tracks in Greater Manchester.