libspatialite: re-enable liblwgeom support

Closes #24428.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>