Mavericks recover after losing 24-point lead, overcome Jokic’s triple-double to beat Nuggets 123-120