Supervised learning of sheared distributions using linearized optimal transport