A never had the authority to contract the land as a park indefinitely ... once C owns it they own it
That's not what a deed restriction is.
are you stuck with passing that obligation forward
Generally yes. Which is why the deed restriction can affect the market value of the property.
The city usually has the authority to dismiss deed restrictions if it is in the best interest of the city.
my wording was too vague though, youre right in that I took for granted we were talking about the city and this doesnt generally apply to normal ownerships or else HOAs wouldnt be anywhere near as annoying as they are.