[APIv4] Add pagination to the list teams API endpoint

Description

Add pagination to the list teams endpoint so it's possible to fetch more than the first 200 teams.

QA Test Steps

None

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

George Goldberg

Epic Link

None

Fix versions

Mattermost Team

Platform

Sprint

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None
Configure