A man accused of wielding an axe and ‘screaming’ at students outside a WA school after crashing into its wall has been released on bail.