Sets the document title overlay's title text and whether it is visible. The SDK drives this from the document title and its visibility conditions; Compose-only hosts can drive it directly.