Living near a protected area can improve aspects of human well-being across the developing world, new research suggests.