So then, is it the act of gay sex that is the real sin in the Church’s view?
Yes, in this case.
If so, why do they use the chastity argument in the first place?
Because legal and lawful marriage has not involved two gay people in America’s past, meaning the Law of Chastity argument applied – so the two issues never had to be addressed separately until now.