A Scottish heritage trust has been granted planning permission to build a new Scotch whisky distillery in Speyside.