The hex string should be transaformed to bytes first.
Change the string to
b'02218AD6CDC632E7AE7D04472374311CEBBBBF0AB540D2D08C3400BB844C654231'
Then you should get the expected result~
Here is a relevant post About performing SHA-256 hashing on the public keyAbout performing SHA-256 hashing on the public key