Court questions government's plans for heritage sporting properties, warning that further loss of open spaces could worsen living conditions in the capital