The folk singer’s arrest for littering on Thanksgiving 1965 helped launch his career two years later with a hippie anthem