Revealing the WEDM Process Parameters for the Machining of Pure and Heat-Treated Titanium (Ti-6Al-4V) Alloy