[ITS][Night] get extension sizes for capture requests

Details: certain devices do not support the default size. Changed
capture size to be the largest shared size between extension
characteristics sizes and output sizes from capture_request_utils.py.
Since extensions are allowed to support only a subset of the camera
output surfaces and resolutions, there will always be such a size.

Bug: 294007061
Test: tested locally
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:933ec1eb173b58e3b61cc31c780032d55bb42783)
Merged-In: I715c295832b6fda94efd025fcfc29342f0d7435d
Change-Id: I715c295832b6fda94efd025fcfc29342f0d7435d
3 files changed