Deep Contract Design via Discontinuous Networks