A General-Purpose Multilingual Document Encoder