Uncovering The Origins Of The Heavy Elements With Spectroscopic R-Process Abundance Retrieval For Kilonovae (Spark)