Samir Zitouni used a frying pan against train attacker Anthony Williams, jurors hear.