Arsenal manager Mikel Arteta says midfielder Granit Xhaka has been through a lot after his difficult moments at the club.