Community pub rescued by locals wins award