Insufficient work rate seems like reasonable grounds for dismissal to me.
However they should go through a legitimate process and give the employee time to up their game prior to a dismissing them, and if it was in anyway linked to them signing the petition 2 weeks before that is obviously terrible.