Maryland’s governor and legislative leaders said Friday they have agreed on a new multiyear approach on the state budget as they look to resolve a series of looming budget gaps.