The complete planar S-matrix of $ \mathcal{N} = 4 $ SYM as a Wilson loop in twistor space