No, your visa was not denied or rejected by the visa officer, if they put a stamp that says “cancelled without prejudice” . You do not have to indicate anything on the DS-160 form during the US visa application process.