Matthew Waite’s 141-ball 66 saved Worcestershire from what looked an inevitable innings defeat