Appeals court rules against GOP convention lawsuit