cmake: Fix protobuf .proto file lookup depth in WellKnownTypes Extras


Per cmake-packages(7), config files are installed to
<prefix>/lib/cmake/<PackageName>/; the previous ../.. traversal from
protobuf_DIR only reached <prefix>/lib/, so find_path with PATH_SUFFIXES
include never found the .proto files.

Add ../../.. to handle this standard layout while keeping ../.. for
vcpkg, which places configs at share/<PackageName>/ per its
vcpkg_cmake_config_fixup defaults.

Ref:
* https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html
* https://learn.microsoft.com/en-us/vcpkg/maintainers/functions/vcpkg_cmake_config_fixup

Fixes: QTBUG-146681
Pick-to: 6.11
Change-Id: I04785b5d9ac70ce0dc4dac25b131969ea101f9db
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commita884ef32a51da77ff2ce45646c71d626a0702e7a
parentcdb00a33e4678c6d34e5612a0d08d674786494c2
authorDennis Oberst <dennis.oberst@qt.io>
committerDennis Oberst <dennis.oberst@qt.io>
commit timeWed, 27 May 2026 13:29:50 +0000