Buffalo Teachers Federation seeking court order to stop schools reopening