The Scottish Executive has proposed a bill to ban Scottish shops from selling alcohol to under-21s, before a consultation on the proposal had closed.