Boebert’s victory comes after she switched congressional districts, while Bowman lost in a race that included the most ad spending ever in a House primary.