Linear-time remote homology search using deep learning