Cooking for the homeless and dressing up as Santa—the GP putting community at the heart of his work