WFLY-3929 WeldApplicationFactory does not override getWrapped()

PR for 8.x https://github.com/wildfly/wildfly/pull/6775