On the Interplay between Positional Encodings, Morphological Complexity, and Word Order Flexibility