Buddy Hield had a team-high 19 points as one of six Golden State Warriors players to score in double figures in a 107-104 win over the Detroit Pistons.