[TwigBundle] Remove hard dependency of RequestContext in AssetsExtension

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #11466
| License       | MIT
| Doc PR        | -

symfony/symfony#10451 introduced the requirement of RequestContext in AssetsExtension. This is only needed when generating absolute URLs for assets. When sending emails with Twig from the CLI, the router may not be present and most times is not required. 

This PR attempts to remove the hard dependency and set RequestContext if the router is present according to issue #11466.
this is a BC break (people passing it in the cosntructor will not have the expected behavior anymore). A BC fix would be to simply make it nullable, and make the argument a soft reference:

```xml
<service id="twig.extension.assets" class="...">
    <!-- ... -->
    <argument type="service" id="router.request_context" on-invalid="null" />
</service>
```