Brighton's on-loan striker Evan Ferguson has returned to West Ham after a spell away on Nations League duty with Ireland.