As Gov. Charlie Baker is gearing up for re-election, the state’s highest court is preparing to weigh in on a major promise from his first campaign — to stop housing homeless in motels — in a fast-tracked case with dozens of families and millions of dollars at stake, officials say.The Supreme Judicial Court will hear arguments next month about Baker’s policy of rolling back homeless housing in motels.