An own goal by Timothy Fosu-Mensah gave Huddersfield its first Premier League win of the season as it beat fellow struggler Fulham 1-0 to climb off the bottom of the table.