Process optimization of line patterns in extreme ultraviolet lithography using machine learning and a simulated annealing algorithm