Enhancing Idiomatic Representation in Multiple Languages via an Adaptive Contrastive Triplet Loss