Pastor lashes out at 'injustices' faced by gays