You can forfeit games from the home screen by swiping up on the game. You can also forfeit a game by going to the game and clicking on the menu at the top right, then selecting Forfeit.
 
Note: Games auto-forfeit after seven(7) days of inactivity