A matrix model for the latitude Wilson loop in ABJM theory