Dominic Thiem kwam in vijf sets net te kort tegen recordhouder Novak Djokovic tijdens de finale van de Australian Open.