[BUGFIX] Call RequestHandlerResolver also for CLI requests

Currently the bootstrap does not call the RequestHandlerResolver
for CLI requests but instantiates RequestHandler and Response
on its own.

Fixes: #39140
Releases: 6.1
Change-Id: I37a9b31c74f04cadb3a2f99c15f08a4425428de5
Reviewed-on: https://review.typo3.org/17393
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf