Vance Boelter, 57, is alleged to have gained access to the lawmakers’ homes while posing as a police officer, law enforcement said.