Catholic group spent millions on app data that tracked gay priests