A transgender child actor will guest star on Wednesday night's "Modern Family."