Tuning pectin methylesterification to protect cell wall integrity for immunity to pathogens