liblwgeom: new formula to build just liblwgeom from postgis, without requiring postgresql or gdal

Closes #24280.

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