The role of data embedding in quantum autoencoders for improved anomaly detection