A Wigan man accused of a serious attack has been found not guilty by a jury.