Text this: A structural equation model for imaging genetics using spatial transcriptomics