Eden Hazard was wrong to "take the law into his own hands" when he tried to retrieve the ball from a ballboy at Swansea, the chairman of the Professional Footballers' Association (PFA) has said.