Stocks were supported by by a resurgence in the city’s heavyweight bank stocks in a time of higher-for-longer global interest rates.