A black bear cub that was pulled from a tree for a selfie in North Carolina earlier this year has been successfully released back into the wild.