Iga Swiatek suffers her worst defeat in two years as Jelena Ostapenko breezes past the world number two in straight sets to reach the Qatar Open final.