### Is there an existing issue for this?

- [X] I have searched the existing issues

### Feature description

Allow lambda container to have multiple networks not just one.
With the current implementation Lambda network only gets a single network, even though the Localstack container accepts multiple network values.
this is how it works currently:

> Gets the main network of the LocalStack container (if we run in one, bridge otherwise)
    If there are multiple networks connected to the LocalStack container, we choose the first as "main" network

### 🧑‍💻 Implementation

This is where the "main" network value is retrieved, may be it should be a List?
https://github.com/localstack/localstack/blob/a71e661fa6b0189e54b468713f710f0ae1b93791/localstack/utils/container_networking.py#L14

### Anything else?

_No response_
locks: Dict[str, Union[threading.Semaphore, threading.Lock]]
    creation_lock: threading.Lock
    def __init__(self):
        self.locks = {}
        self.creation_lock = threading.Lock()
    def assure_lock_present(
        self, key: str, lock: Union[threading.Semaphore, threading.Lock]
    ) -> Union[threading.Semaphore, threading.Lock]:
        with self.creation_lock:
            return self.locks.setdefault(key, lock)
LAMBDA_ASYNC_LOCKS = LambdaAsyncLocks()
class LambdaExecutor:
    """Base class for Lambda executors. Subclasses must overwrite the _execute method"""
    def __init__(self):
        
        self.function_invoke_times = {}
    def _prepare_environment(self, lambda_function: LambdaFunction):
        
        result = lambda_function.envvars.copy()
        
        aws_stack.inject_test_credentials_into_env(result)
        
        aws_stack.inject_region_into_env(result, lambda_function.region())
        return result
    def _lambda_result_to_destination(
        self,
        func_details: LambdaFunction,
        event: Dict,
        result: InvocationResult,
        is_async: bool,