Internal dynamics of the radio-halo cluster Abell 773: a multiwavelength analysis