Don't use published_date to figure out if xblock is published

ask the modulestore if it's published
LMS-11184

The merge of this needs to be synchronized with the merge of https://github.com/edx/edx-platform/pull/5001

@stephensanchez please review