Improve accessibilityLabel performance
Improve accessibilityLabel performance

Summary:
Integration testing with Appium on iOS is slow. Profiling with Instruments.app points to `RCTView`'s `accessibilityLabel` method being a hot point in React Native, due to the `RCTRecursiveAccessibilityLabel` function.

I did a baseline benchmark by using Appium's `find_element(accessibility_id: <label>)` call on our application 10 times and got a baseline result of 0.6s for one of our primary screens.

After implementing the change and performing the same call 10 times, I got 0.48s for the same call, for a 20% performance increase in `find_element`.

[iOS] [View] - Improve performance of `RCTView` `accessibilityLabel`

<!--
Help reviewers and the release process by writing your own release notes

**INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.**

  CATEGORY
[----------]        TYPE
[ CLI      ]   [-------------]      LOCATION
[ DOCS     ]   [ BREAKING    ]   [-------------]
[ GENERAL  ]   [ BUGFIX      ]   [-{Component}-]
[ INTERNAL ]   [ ENHANCEMENT ]   [ {File}      ]
[ IOS      ]   [ FEATURE     ]   [ {Directory} ]   |-----------|
[ ANDROID  ]   [ MINOR       ]   [ {Framework} ] - | {Message} |
[----------]   [-------------]   [-------------]   |-----------|

[CATEGORY] [TYPE] [LOCATION] - MESSAGE

 EXAMPLES:

 [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things
 [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput
 [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with
 [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word
 [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position
 [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see
-->
Closes https://github.com/facebook/react-native/pull/17022

Differential Revision: D6459462

Pulled By: shergin

fbshipit-source-id: 3de7e5dc075281e35e62b4d4234d3f7fac5aae23

javache/react-native,jevakallio/react-native,Bhullnatik/react-native,dikaiosune/react-native,jevakallio/react-native,jevakallio/react-native,rickbeerendonk/react-native,hoastoolshop/react-native,hammerandchisel/react-native,exponent/react-native,pandiaraj44/react-native,ptmt/react-native-macos,hammerandchisel/react-native,myntra/react-native,hoastoolshop/react-native,hammerandchisel/react-native,javache/react-native,arthuralee/react-native,jevakallio/react-native,ptmt/react-native-macos,pandiaraj44/react-native,hoangpham95/react-native,javache/react-native,pandiaraj44/react-native,rickbeerendonk/react-native,Bhullnatik/react-native,exponentjs/react-native,exponent/react-native,rickbeerendonk/react-native,hammerandchisel/react-native,exponent/react-native,ptmt/react-native-macos,jevakallio/react-native,myntra/react-native,hoangpham95/react-native,hoastoolshop/react-native,hoangpham95/react-native,hammerandchisel/react-native,janicduplessis/react-native,exponentjs/react-native,hoastoolshop/react-native,hoastoolshop/react-native,facebook/react-native,jevakallio/react-native,hammerandchisel/react-native,janicduplessis/react-native,arthuralee/react-native,rickbeerendonk/react-native,facebook/react-native,hammerandchisel/react-native,facebook/react-native,rickbeerendonk/react-native,hoangpham95/react-native,javache/react-native,Bhullnatik/react-native,rickbeerendonk/react-native,jevakallio/react-native,exponentjs/react-native,pandiaraj44/react-native,myntra/react-native,pandiaraj44/react-native,javache/react-native,exponent/react-native,ptmt/react-native-macos,Bhullnatik/react-native,Bhullnatik/react-native,myntra/react-native,rickbeerendonk/react-native,arthuralee/react-native,janicduplessis/react-native,jevakallio/react-native,javache/react-native,hoangpham95/react-native,exponent/react-native,exponentjs/react-native,myntra/react-native,dikaiosune/react-native,dikaiosune/react-native,hoangpham95/react-native,janicduplessis/react-native,arthuralee/react-native,dikaiosune/react-native,facebook/react-native,exponent/react-native,jevakallio/react-native,exponentjs/react-native,rickbeerendonk/react-native,arthuralee/react-native,facebook/react-native,exponentjs/react-native,pandiaraj44/react-native,dikaiosune/react-native,exponentjs/react-native,hoastoolshop/react-native,ptmt/react-native-macos,janicduplessis/react-native,Bhullnatik/react-native,hoangpham95/react-native,hammerandchisel/react-native,exponent/react-native,ptmt/react-native-macos,facebook/react-native,rickbeerendonk/react-native,dikaiosune/react-native,pandiaraj44/react-native,javache/react-native,janicduplessis/react-native,hoastoolshop/react-native,ptmt/react-native-macos,myntra/react-native,myntra/react-native,javache/react-native,hoangpham95/react-native,Bhullnatik/react-native,javache/react-native,pandiaraj44/react-native,facebook/react-native,janicduplessis/react-native,janicduplessis/react-native,Bhullnatik/react-native,ptmt/react-native-macos,hoastoolshop/react-native,facebook/react-native,dikaiosune/react-native,myntra/react-native,myntra/react-native,facebook/react-native,exponentjs/react-native,dikaiosune/react-native,exponent/react-native