use layer title instead of name in server getlegendgraphic response (fixes #11406)