Superconducting state of the iron pnictide LiFeAs: A combined density-functional and functional-renormalization-group study