YouTube no longer available for old Android 2.2 devices?
APKMirror provides mirror for (almost) all version of YouTube APK.

You could try sideloading YouTube 5.2.27, the last version that Froyo (Android 2.2) still supports.

The next version, which is 5.3.23, already requires Gingerbread (Android 2.3.3).