A late strike from second-half substitute Romelu Lukaku earned Everton a 1-0 win over West Ham in a closely-fought encounter at Goodison Park.