Development of density-functional theory for a plasmon-assisted superconducting state: application to lithium under high pressures.