Text this: Unsupervised relational inference using masked reconstruction