Uke strings are typically very soft materials. If your nut slots are either sharp enough or undersized enough that the string is hanging up, the nut really needs to be fixed. Slots the correct size, and edges eased so they're not sharp. Graphite dust can help lubricate things, and is common on stringed instruments in general, but it can also hide a problem and in the long run you end up with damaged strings. I've worked on ukes where the strings were stained with graphite dust and also visibly cut or "shaved" - sometimes to the extent that little nylon shavings are literally hanging off the string right at the nut.