R-process enrichment from a single event in an ancient dwarf galaxy