Haldane topological spin-1 chains in a planar metal-organic framework