Callum Jones' 97th-minute penalty against Livingston earns Dundee their first Scottish Premiership win of the season.