Will Smith led Durham's fightback with a dogged century on day two of the Division One clash at Nottinghamshire.