The spelling "Dakotah" was influenced by the way the name was pronounced by the Dakota people themselves. However, the "h" at the end is not part of the original Lakota language.
The name "Dakota" itself comes from the Lakota word "dakhota" which means "friend" or "ally."