Fix HOC name extraction for nested components

Fixed a bug in React DevTools where deeply nested higher-order components (HOCs) weren't being fully unwrapped. Component names like `Forget(Memo(Button))` will now correctly display all HOC layers instead of stopping after the first one.