World number one Iga Swiatek holds her nerve to beat world number two Aryna Sabalenka and win her first Madrid Open.