Follow-up for #1754246: Languages should be configuration entities

Problem/Motivation

Currently language_list() uses plain config files to read languages. That's implemented to allow this function to operate in maintenance mode (update|upgrade|install) when entity manager is not available

Proposed resolution

Introduce language_names() to be used in this cases

API changes

API addition