Followup: I tried passing UTextRenderComponent::StaticClass() as the second argument, which also compiles and runs, but the component is still invisible.
In both cases, I can see all the properties of the UTextRenderComponent in the editor, under “Details.” All of the object’s properties look correct. And, under “Rendering,” the “Visible” checkbox is checked.