Low-Order Wavefront Sensing for Future Space-Based Coronagraphic Missions with a Sparse Aperture Mask