A pub in Lincoln's historic quarter has lost its bid to keep a beer garden that was created without planning permission.