Logan Sargeant was fortunate to avoid hitting the wall after going for a spin during qualifying for the Saudi Arabian Grand Prix.