England coach Trevor Bayliss is thought to have spoken to the match referee over Pakistan's Wahab Riaz using his foot rather than his hand to field the ball.