Gets a release state by ID. Parameters releaseStateId - ID of release state to get. Returns ReleaseState object.