[xbuild]: Implement task batching for properties; fixes #16403.