Dolan’s use of facial-recognition technology to kick his enemies out of his venue has gotten him on the bad side of state and city lawmakers, and drawn the attention of the state attorney general, all as New York City looks to move Madison Square Garden to a new location.