AttributeError: module 'cv2.xfeatures2d' has no attribute 'SURF_create'

You haven’t built against the contrib module which includes the implementation for SURF.

As you are building a wheel using GitHub - opencv/opencv-python: Automated CI toolchain to produce precompiled opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless packages.
you need to

set ENABLE_CONTRIB=1

before building.

You should then have the extra module path in your configuration output. e.g.

General configuration for OpenCV 4.10.0 =====================================
Version control: 4.10.0

Extra modules:
Location (extra): D:/a/opencv-python/opencv-python/opencv_contrib/modules
Version control (extra): 4.10.0