Do high school poll workers have to work all day?

No.  A municipality may authorize election inspectors to work at different times on election day.  If the municipality permits selection of inspectors to work in shifts, a high school student could work the entire day or one of the shifts authorized by the municipal clerk.