According to this Harvard article, lectins are water-soluble, so cooking with water, such as boiling, steaming, and pressure cooking, should inactivate them.