Public servant loses legal bid to work from home due to COVID policy