gh-89499: Support the standalone document declaration in ElementTree (GH-156730)
ElementTree.write(), tostring() and tostringlist() get the standalone
parameter: True for standalone="yes", False for standalone="no", and None
(the default) to omit it. An XML declaration is written if it is not None,
and combining it with a false xml_declaration is an error.