features2d cleanup: #24999
Main PR: opencv/opencv#25292, which moves KAZE, AKAZE, AgastFeatureDetector, BRISK and BOW to opencv_contrib/xfeatures2d.