Ringgit lower at close on profit-taking