Former president Barack Obama questions whether fixating on his record is the best way for Donald Trump to serve the country in latest dig at his Republican successor