Academy graduate Matthew Hobden has signed a two-year professional contract with Sussex, the county have announced.