The protein quality control system manages plant defence compound synthesis