People seem to have a hard time understanding that freedom of expression goes both ways.
Whether or not you agree with the stance the makers of this app take they have the right to express it, just as gay rights activists can express their side of the coin.
It would arguably be a violation of Apple's rights to force them to sell something on the App Store, except where rejecting it would be anticompetitive behavior. Nobody's stopping the 'Gay Cure' folks from doing it as a web application instead.