Former Newcastle Anglican Dean loses appeal