How to get menu title inside menu--main.html.twig file
You could try using the Simplify Menu module (which extends twig to support direct access to Drupal's menus for overriding markup).

See the example in this related thread: https://drupal.stackexchange.com/a/228982/79832