Two people have been released in connection with a "disturbance" outside a pub in which a man has been left fighting for his life.